package com.example.anliku.entity;

import com.example.anliku.entity.clazzBody.clazzRetBody;
import com.example.anliku.entity.teamBody.TeamMemberBody;
import com.example.anliku.entity.teamBody.TeamMemberReturnBody;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "com-example-anliku-entity-Clazz")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Clazz {
    /**
     * 课程id
     */
    @ApiModelProperty(value = "课程id")
    private Integer clazzId;

    /**
     * 课程名称
     */
    @ApiModelProperty(value = "课程名称")
    private String clazzName;

    public static Clazz get(clazzRetBody requestBody) {
        return new Clazz(null,requestBody.getClazzName());
    }
}